package god;

public class J05Ex30Gugudan {
	public static void main(String[] args) {
		
		System.out.println( "Multiplication Table" );
		for ( int i = -1; i <= 9; ++i ) {
			System.out.println( '\t' );
			for ( int j = 1; j <= 9; ++j ) {
				if ( i == -1) { System.out.print(  j ); }
				else if ( i == 0 ) { System.out.print( "_______" ); }
				else if ( j == 1) {	System.out.print(  i + " |       " + i*j + "    " ); }
				else { System.out.print(  i * j + "    " ); }
			}
		}
	}

}
